package com.webbei.product.action;

import com.opensymphony.xwork2.ActionSupport;
import com.webbei.HAO.service.ChSer;

public class UpdateProdcutClickCount extends ActionSupport {
	private int productId;
	private ChSer ser;
	public String execute(){
		//更改点击量
		System.out.println("UpdateProdcutClickCount..........."+productId);
		ser.updateClickCountByProductId(productId);
		return "success";
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public ChSer getSer() {
		return ser;
	}
	public void setSer(ChSer ser) {
		this.ser = ser;
	}
}
